package com.cssy.yd.logic.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicSkDO;
import com.cssy.yd.logic.entity.LogicSkItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.yuendong.sy.exception.SyCodeException;

public interface ILogicSkService extends IBaseService<LogicSkDO> {

	public SearchResult findItemListByExample(SearchConditions scs) throws SyBaseException;
	
	public Integer deleteItem(String id) throws SyBaseException;
	
	public Integer updateItem(LogicSkItemDO t) throws SyBaseException;
	
	public LogicSkItemDO saveItem(LogicSkItemDO t) throws SyBaseException;
	
	public LogicSkItemDO findItemListById(String id) throws SyBaseException;
	
	public List<LogicSkItemDO> findItemListBysoid(String soid) throws SyBaseException;
	
	public Double findLastedDOByExample(SearchConditions scs) throws SyBaseException;
	
	@Transactional
	public void sksave(HttpServletRequest request,LogicSkDO curAP)throws SyBaseException,SyCodeException;
	@Transactional
	public void skcommit(HttpServletRequest request,LogicSkDO curAP)throws SyBaseException,SyCodeException;
}
